package com.wwl.springcloud.services;

import org.springframework.stereotype.Component;

/**
 * @author wwl
 * @version 1.0
 * @date 2021/8/11 19:25
 * @description:事现服务降级方法2
 */
@Component
public class PaymentFallbackService implements  PaymentService{
    @Override
    public String getPaymentById(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_OK , (┬＿┬)";
    }

    @Override
    public String paymentFeignTimeout(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_TimeOut , (┬＿┬)";
    }

}
